package com.mku.parkingmanagement_service.enums;


import lombok.Data;
import lombok.Getter;

@Getter
public enum ResultEnum {
    /* 成功 */
    SUCCESS(true,"200","成功"),
    /* 失败 */
    FAIL(false,"555","失败"),
    /* 系统异常 */
    ERROR(false,"666","系统发生异常");

    /** 返回状态 */
    private Boolean state;
    private String code;
    private String message;

    ResultEnum(Boolean state,String code,String message){
        this.state = state;
        this.code = code;
        this.message = message;
    }


}
